-
Home
-
Bulgarisation for WooCommerce
-
3.2.1
-
Code
-
Classes
- EU_Vat
| Total Complexity |
69 |
| Dependencies |
4 |
| Dependents |
2 |
| Total lines |
310 |
| Lines of code |
212 |
| Logical lines of code |
122 |
| Comment lines |
4 |
| Methods |
18 |
| Properties |
4 |
Methods 18
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| ajax_update_checkout_totals() |
A |
52 |
11 |
21 |
| process_checkout() |
S |
57 |
8 |
13 |
| vat_number_is_valid() |
S |
49 |
7 |
27 |
| set_order_data() |
S |
58 |
7 |
13 |
| get_vat_number_prefix() |
S |
59 |
4 |
17 |
| is_base_country_match() |
S |
65 |
5 |
9 |
| cart_has_digital_goods() |
S |
61 |
4 |
12 |
| vat_number_field() |
S |
57 |
3 |
16 |
| add_vat_number_to_order_response() |
S |
65 |
4 |
8 |
| woocommerce_get_tax_location() |
S |
62 |
3 |
11 |
| validate() |
S |
57 |
2 |
17 |
| get_eu_countries() |
S |
66 |
2 |
6 |
| get_formatted_vat_number() |
S |
66 |
2 |
7 |
| get_ip_country() |
S |
68 |
2 |
7 |
| maybe_set_vat_exempt() |
S |
68 |
2 |
7 |
| __construct() |
S |
63 |
1 |
10 |
| reset() |
S |
69 |
1 |
7 |
| set_refund_data() |
S |
75 |
1 |
4 |